SidebarRow: Add Unmount tooltip to eject_button
authorDaniel Boles <dboles@src.gnome.org>
Sat, 19 Aug 2017 16:27:20 +0000 (17:27 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Wed, 23 Aug 2017 20:41:50 +0000 (21:41 +0100)
It was reported that the lack of a tooltip made its purpose unclear.
This can be solved by just copying PlacesViewRow’s eject_button tooltip.

https://bugzilla.gnome.org/show_bug.cgi?id=766909

gtk/ui/gtksidebarrow.ui

index 8cb6380dd8e9fa43e238fd3dc866234591de5b5e..9b590e2ad7574276357773d46b6c4a9989e948e8 100644 (file)
@@ -37,6 +37,7 @@
                 <property name="valign">center</property>
                 <property name="margin-start">4px</property>
                 <property name="icon-name">media-eject-symbolic</property>
+                <property name="tooltip-text" translatable="yes">Unmount</property>
                 <style>
                   <class name="sidebar-button"/>
                 </style>